package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class Square {

    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<RecordsDTO> records;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "total")
    private int total;

    @NoArgsConstructor
    @Data
    public static class RecordsDTO {
        @JSONField(name = "backUrl")
        private String backUrl;
        @JSONField(name = "circleName")
        private String circleName;
        @JSONField(name = "circleTypeId")
        private String circleTypeId;
        @JSONField(name = "createTime")
        private String createTime;
        @JSONField(name = "createUserName")
        private String createUserName;
        @JSONField(name = "headerUrl")
        private String headerUrl;
        @JSONField(name = "id")
        private int id;
        @JSONField(name = "lastModifyTime")
        private String lastModifyTime;
        @JSONField(name = "personNum")
        private String personNum;
        @JSONField(name = "remarks")
        private String remarks;
        @JSONField(name = "status")
        private int status;
        @JSONField(name = "follow")
        private boolean follow = false;
    }
}
